package com.zwd.deep.handle.exception;

import com.zwd.deep.common.ResultEnum;

/**
 * 自定义异常
 *
 * @author wanjunhong
 */
public class GlobalException extends RuntimeException {

    /**
     * 异常信息
     *
     * @param resultEnum: 返回结果枚举
     * @author wanjunhong
     */
    public GlobalException(ResultEnum resultEnum) {
        super(resultEnum.name());
    }

}
